package cn.xmy.demo01.service.impl;
import cn.xmy.demo01.dao.ImgsDao;
import cn.xmy.demo01.pojo.Imgs;
import cn.xmy.demo01.service.ImgsDoaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.SQLException;
import java.util.List;
@Service
public class ImgDaoImplService implements ImgsDoaService {
    @Autowired
    ImgsDao imgsDao;
    @Override
    public List<Imgs> Findimgs(String id) throws SQLException, ClassNotFoundException {
        List<Imgs>imgs=imgsDao.Findimgs(id);
        return imgs;
    }
}
